You could write a C program to sample and save the
data you need in the gather buffer. That program could
also provide the motion stimulus commands. After the
run was finished, another program could run which would
convert the data in the gather buffer into a CSV format
and write it to a file on the PC. You then graph the
spreadsheet data using Excel etc.
For what you are trying to do, the data you need to save
would be the chan[n].Dest field (for position target),
then chan[n].Position for the encoder reading, and another
channel's Position for the glass scale reading. Maybe you
could subtract one Position from the other (after
appropriate scaling), since you are only interested in the
error between rotary and linear encoders.
Regards,
SJH